json.array! @machines, partial: 'machines/machine', as: :machine
